/**
 * http://www.sencha.com/learn/intro-to-the-list-component/
 */
Ext.regController("Contact", {
    index: function() {

//        myApp.listPanel = new Ext.List({
//            id:'indexList',
//            store: myApp.stores.Contact,
//            grouped:true,
//            itemTpl: '<div>{firstName} <strong>{lastName}</strong></div>'
//        });
//
//        myApp.Viewport = new Ext.Panel({
//            fullscreen: true,
//            layout:'fit',
//            items:[myApp.listPanel]
//        })
        this.indexView = this.render({
            xtype:'contactIndex'
        });
        myApp.viewport.setActiveItem(this.indexView);

    }	  
});